<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>程序员简历 - 张三</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #6366f1;
            --primary-glow: #818cf8;
            --secondary: #1e293b;
            --dark: #0f172a;
            --accent: #06b6d4;
            --text: #e2e8f0;
            --text-muted: #94a3b8;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }

        body {
            background: linear-gradient(135deg, var(--dark), #020617);
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .resume-card {
            background: rgba(15, 23, 42, 0.8);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(99, 102, 241, 0.2);
            position: relative;
        }

        .resume-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg,
                    transparent,
                    var(--primary-glow),
                    transparent);
        }

        .header {
            padding: 40px;
            text-align: center;
            background: rgba(15, 23, 42, 0.6);
            position: relative;
            overflow: hidden;
        }

        .header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg,
                    transparent,
                    rgba(99, 102, 241, 0.5),
                    transparent);
        }

        .profile-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--primary);
            box-shadow: 0 0 20px var(--primary-glow);
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }

        .profile-img:hover {
            box-shadow: 0 0 30px var(--primary-glow);
            transform: scale(1.05);
        }

        .name {
            font-size: 2.5rem;
            margin-bottom: 10px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 700;
        }

        .title {
            font-size: 1.2rem;
            color: var(--text-muted);
            margin-bottom: 20px;
        }

        .tagline {
            max-width: 600px;
            margin: 0 auto;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 0;
        }

        .sidebar {
            padding: 30px;
            background: rgba(15, 23, 42, 0.7);
            border-right: 1px solid rgba(99, 102, 241, 0.2);
        }

        .main {
            padding: 30px;
        }

        .section {
            margin-bottom: 40px;
        }

        .section-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary);
            display: flex;
            align-items: center;
        }

        .section-title i {
            margin-right: 10px;
            color: var(--primary);
        }

        .contact-info {
            margin-bottom: 30px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            font-size: 1rem;
        }

        .contact-item i {
            width: 24px;
            margin-right: 12px;
            color: var(--primary);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .skill-item {
            margin-bottom: 20px;
        }

        .skill-name {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 0.95rem;
        }

        .skill-bar {
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
        }

        .skill-level {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 10px;
            position: relative;
        }

        .skill-level::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg,
                    transparent,
                    rgba(255, 255, 255, 0.3),
                    transparent);
            animation: shine 2s infinite;
        }

        @keyframes shine {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(100%);
            }
        }

        .timeline {
            position: relative;
            padding-left: 30px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            bottom: 8px;
            width: 2px;
            background: linear-gradient(to bottom,
                    transparent,
                    var(--primary),
                    transparent);
        }

        .timeline-item {
            margin-bottom: 30px;
            position: relative;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -35px;
            top: 8px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--primary);
            box-shadow: 0 0 10px var(--primary-glow);
        }

        .timeline-date {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 5px;
            font-size: 0.95rem;
        }

        .timeline-title {
            font-weight: 600;
            margin-bottom: 5px;
            font-size: 1.1rem;
        }

        .timeline-company {
            color: var(--text-muted);
            margin-bottom: 10px;
            font-size: 0.95rem;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .project-card {
            background: rgba(15, 23, 42, 0.5);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            border: 1px solid rgba(99, 102, 241, 0.1);
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .project-title {
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--primary);
            font-size: 1.1rem;
        }

        .project-desc {
            color: var(--text-muted);
            margin-bottom: 15px;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tech-tag {
            background: rgba(99, 102, 241, 0.2);
            color: var(--primary);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            border: 1px solid rgba(99, 102, 241, 0.3);
        }

        .glow {
            position: fixed;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0, transparent 50%);
            pointer-events: none;
            z-index: -1;
        }

        footer {
            text-align: center;
            margin-top: 40px;
            color: var(--text-muted);
            font-size: 0.9rem;
            padding: 20px;
        }

        @media (max-width: 900px) {
            .content {
                grid-template-columns: 1fr;
            }

            .sidebar {
                border-right: none;
                border-bottom: 1px solid rgba(99, 102, 241, 0.2);
            }

            .skills-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 600px) {
            .header {
                padding: 30px 20px;
            }

            .name {
                font-size: 2rem;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>

<body>
    <div class="glow"></div>

    <div class="container">
        <div class="resume-card">
            <div class="header">
                <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="张三" class="profile-img">
                <h1 class="name">张三</h1>
                <div class="title">全栈开发工程师 | 技术爱好者</div>
                <p class="tagline">
                    我是一名充满激情的全栈开发人员，拥有超过5年的Web开发经验。我擅长JavaScript技术，包括React、Node.js和Vue.js。我热衷于创建高效、可扩展且用户友好的应用程序，以解决现实世界中的问题。
                </p>
            </div>

            <div class="content">
                <div class="sidebar">
                    <div class="section">
                        <h3 class="section-title"><i class="fas fa-address-card"></i> 联系方式</h3>
                        <div class="contact-info">
                            <div class="contact-item">
                                <i class="fas fa-envelope"></i>
                                <span>zhangsan@example.com</span>
                            </div>
                            <div class="contact-item">
                                <i class="fas fa-phone"></i>
                                <span>+86 138 0013 8000</span>
                            </div>
                            <div class="contact-item">
                                <i class="fas fa-map-marker-alt"></i>
                                <span>北京市海淀区</span>
                            </div>
                            <div class="contact-item">
                                <i class="fab fa-github"></i>
                                <span>github.com/zhangsan</span>
                            </div>
                        </div>
                    </div>

                    <div class="section">
                        <h3 class="section-title"><i class="fas fa-code"></i> 技能专长</h3>
                        <div class="skills-grid">
                            <div class="skill-item">
                                <div class="skill-name">
                                    <span>HTML/CSS</span>
                                    <span>95%</span>
                                </div>
                                <div class="skill-bar">
                                    <div class="skill-level" style="width: 95%;"></div>
                                </div>
                            </div>

                            <div class="skill-item">
                                <div class="skill-name">
                                    <span>JavaScript</span>
                                    <span>90%</span>
                                </div>
                                <div class="skill-bar">
                                    <div class="skill-level" style="width: 90%;"></div>
                                </div>
                            </div>

                            <div class="skill-item">
                                <div class="skill-name">
                                    <span>React</span>
                                    <span>85%</span>
                                </div>
                                <div class="skill-bar">
                                    <div class="skill-level" style="width: 85%;"></div>
                                </div>
                            </div>

                            <div class="skill-item">
                                <div class="skill-name">
                                    <span>Node.js</span>
                                    <span>88%</span>
                                </div>
                                <div class="skill-bar">
                                    <div class="skill-level" style="width: 88%;"></div>
                                </div>
                            </div>

                            <div class="skill-item">
                                <div class="skill-name">
                                    <span>Python</span>
                                    <span>80%</span>
                                </div>
                                <div class="skill-bar">
                                    <div class="skill-level" style="width: 80%;"></div>
                                </div>
                            </div>

                            <div class="skill-item">
                                <div class="skill-name">
                                    <span>数据库管理</span>
                                    <span>85%</span>
                                </div>
                                <div class="skill-bar">
                                    <div class="skill-level" style="width: 85%;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="main">
                    <div class="section">
                        <h3 class="section-title"><i class="fas fa-briefcase"></i> 工作经历</h3>
                        <div class="timeline">
                            <div class="timeline-item">
                                <div class="timeline-date">2020 - 至今</div>
                                <h4 class="timeline-title">高级全栈工程师</h4>
                                <div class="timeline-company">ABC科技有限公司</div>
                                <p>负责公司核心产品的设计与开发，主导技术架构升级，带领5人前端团队完成多个重要项目。</p>
                            </div>

                            <div class="timeline-item">
                                <div class="timeline-date">2018 - 2020</div>
                                <h4 class="timeline-title">前端开发工程师</h4>
                                <div class="timeline-company">XYZ互联网公司</div>
                                <p>参与公司电商平台的前端开发，实现响应式设计，优化网站性能，提升用户体验。</p>
                            </div>

                            <div class="timeline-item">
                                <div class="timeline-date">2016 - 2018</div>
                                <h4 class="timeline-title">Web开发实习生</h4>
                                <div class="timeline-company">创新软件公司</div>
                                <p>学习并参与实际项目开发，协助团队完成网站维护和功能更新。</p>
                            </div>
                        </div>
                    </div>

                    <div class="section">
                        <h3 class="section-title"><i class="fas fa-graduation-cap"></i> 教育背景</h3>
                        <div class="timeline">
                            <div class="timeline-item">
                                <div class="timeline-date">2012 - 2016</div>
                                <h4 class="timeline-title">计算机科学与技术学士</h4>
                                <div class="timeline-company">清华大学</div>
                                <p>主修软件工程方向，获得校级优秀毕业生称号，GPA 3.8/4.0</p>
                            </div>

                            <div class="timeline-item">
                                <div class="timeline-date">2016 - 2018</div>
                                <h4 class="timeline-title">软件工程硕士</h4>
                                <div class="timeline-company">北京大学</div>
                                <p>研究方向为人工智能与机器学习，发表学术论文2篇</p>
                            </div>
                        </div>
                    </div>

                    <div class="section">
                        <h3 class="section-title"><i class="fas fa-project-diagram"></i> 项目经验</h3>
                        <div class="projects-grid">
                            <div class="project-card">
                                <h4 class="project-title">电商平台重构</h4>
                                <p class="project-desc">带领团队重构公司电商平台，提升性能40%，改善用户体验。</p>
                                <div class="project-tech">
                                    <span class="tech-tag">React</span>
                                    <span class="tech-tag">Node.js</span>
                                    <span class="tech-tag">MongoDB</span>
                                </div>
                            </div>

                            <div class="project-card">
                                <h4 class="project-title">智能任务管理系统</h4>
                                <p class="project-desc">开发一款基于AI的任务优先级排序和分配系统。</p>
                                <div class="project-tech">
                                    <span class="tech-tag">Vue.js</span>
                                    <span class="tech-tag">Express</span>
                                    <span class="tech-tag">Python</span>
                                </div>
                            </div>

                            <div class="project-card">
                                <h4 class="project-title">健康数据追踪平台</h4>
                                <p class="project-desc">设计与开发可穿戴设备的健康数据追踪和分析平台。</p>
                                <div class="project-tech">
                                    <span class="tech-tag">React Native</span>
                                    <span class="tech-tag">Firebase</span>
                                    <span class="tech-tag">Chart.js</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <footer>
            <p>&copy; 2023 张三 - 程序员简历 | 使用HTML和CSS制作</p>
        </footer>
    </div>

    <script>
        // 添加鼠标移动时的光效
        document.addEventListener('mousemove', (e) => {
            const glow = document.querySelector('.glow');
            glow.style.transform = `translate(${e.clientX}px, ${e.clientY}px)`;
        });

        // 添加技能条动画
        document.addEventListener('DOMContentLoaded', () => {
            const skillLevels = document.querySelectorAll('.skill-level');
            skillLevels.forEach(level => {
                const width = level.style.width;
                level.style.width = '0';
                setTimeout(() => {
                    level.style.transition = 'width 1.5s ease-in-out';
                    level.style.width = width;
                }, 500);
            });
        });
    </script>
</body>

</html>